 function formatTime(date){
	 console.log('time');
	 console.log(date);
	let year = date.getFullYear()
	let month = date.getMonth()+1
	let day = date.getDate()
	let hour = date.getHours()
	let min = date.getMinutes()
	let sec = date.getSeconds()
	let time = `${year}-${month}-${day} ${hour}:${min}:${sec}`
	console.log(time);
	return time
}
module.exports = {
	formatTime
}
